package com.woniu.cms.psm.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lilili
 * @since 2022-09-23
 */
@Getter
@Setter
@Accessors(chain = true)
  @TableName("cms_message")
@ApiModel(value = "Message对象", description = "")
public class Message implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("通知编号")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("接收者名称")
      private String acceptorName;

      @ApiModelProperty("发送者名称")
      private String providerName;

      @ApiModelProperty("通知信息")
      private String message;

      @ApiModelProperty("状态；0:未读；1:已读")
      private Integer status;
}
